package com.farm2.lucene.query;

import lombok.Data;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.search.Query;

public interface DocumentRule {

    public enum QueryType {

        LUCENE,

        LIMIT
    }

    public Query getQuery(Analyzer analyzer);

    public QueryType getQueryType();
}
